package com.demo.server.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person implements Serializable {

    private Integer id;
    private Integer age;
    private String userName;
    private String work;
    private String address;

    public Person(Integer id, String userName, String work) {
        this.id = id;
        this.userName = userName;
        this.work = work;
    }
}